// @ts-check

import { defineConfig } from '@vben/eslint-config'

export default defineConfig([
    {
        ignores: ['**/apps/web-antd/public/**', 'vetur.config.js']
    },
    {
        rules: {
            '@typescript-eslint/no-dynamic-delete': 'off',
            '@typescript-eslint/no-use-before-define': 'off',
            '@typescript-eslint/perfectionist/sort-import': 'off',
            '@typescript-eslint/prefer-promise-reject-errors': 'off',
            '@typescript-eslint/unicorn/no-nested-ternary': 'off',
            'no-console': 'off',
            'no-dynamic-delete': 'off',
            'no-use-before-define': 'off',
            'perfectionist/sort-imports': 'off',
            'prefer-promise-reject-errors': 'off',
            'unicorn/no-nested-ternary': 'off',
            'unicorn/prefer-module': 'off'
        }
    }
])
